package com.joolun.tennis.domain;

import java.math.BigDecimal;
import java.util.List;

import com.joolun.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.joolun.common.annotation.Excel;
import com.joolun.common.annotation.Excel.ColumnType;
import com.joolun.common.core.domain.BaseEntity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 俱乐部对象 club
 * 
 * @author www.joolun.com
 * @date 2022-03-08
 */
public class Club extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 俱乐部名称 */
    @Excel(name = "俱乐部名称")
    private String cName;

    /** 俱乐部介绍 */
    @Excel(name = "俱乐部介绍")
    private String content;

    /** 俱乐部管理人员 */
    @Excel(name = "俱乐部管理人员")
    private Long userId;

    /** LOGO路径 */
    @Excel(name = "LOGO路径")
    private String logo;

    /** 所属城市 */
    @Excel(name = "所属城市")
    private Long city;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 俱乐部经度 */
    @Excel(name = "俱乐部经度")
    private BigDecimal lontitude;

    /** 俱乐部纬度 */
    @Excel(name = "俱乐部纬度")
    private BigDecimal latitude;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 课程介绍 */
    @Excel(name = "课程介绍")
    private String classDesc;

    /** 室内球场 */
    @Excel(name = "室内球场")
    private Integer indoor;

    /** 室外球场 */
    @Excel(name = "室外球场")
    private Integer outdoor;

    /** 穿线 */
    @Excel(name = "穿线")
    private Integer threading;

    /** 发球机 */
    @Excel(name = "发球机")
    private Integer serve;

    /** 停车场 */
    @Excel(name = "停车场")
    private Integer park;

    /** 休息区 */
    @Excel(name = "休息区")
    private Integer rest;

    /** 辅助练习器 */
    @Excel(name = "辅助练习器")
    private Integer supply;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Integer deleted;

    private String paths;

    private String[] picUrls;
    /** 管理员用户名 */
    private String userName;
    /** 俱乐部附件 */
    private List<ClubFile> files;
    /** 教练员列表 */
    private List<Coach> coachList;

    private int isCollect;

    private String wxUserId;

    public String getWxUserId() {
        return wxUserId;
    }

    public void setWxUserId(String wxUserId) {
        this.wxUserId = wxUserId;
    }

    public int getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(int isCollect) {
        this.isCollect = isCollect;
    }

    public String[] getPicUrls() {
        return picUrls;
    }

    public void setPicUrls(String[] picUrls) {
        this.picUrls = picUrls;
    }

    public String getPaths() {
        return paths;
    }

    public void setPaths(String paths) {
        this.paths = paths;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<ClubFile> getFiles() {
        return files;
    }

    public void setFiles(List<ClubFile> files) {
        this.files = files;
    }

    public List<Coach> getCoachList() {
        return coachList;
    }

    public void setCoachList(List<Coach> coachList) {
        this.coachList = coachList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setcName(String cName) 
    {
        this.cName = cName;
    }

    public String getcName() 
    {
        return cName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setCity(Long city) 
    {
        this.city = city;
    }

    public Long getCity() 
    {
        return city;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLontitude(BigDecimal lontitude) 
    {
        this.lontitude = lontitude;
    }

    public BigDecimal getLontitude() 
    {
        return lontitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setClassDesc(String classDesc) 
    {
        this.classDesc = classDesc;
    }

    public String getClassDesc() 
    {
        return classDesc;
    }
    public void setIndoor(Integer indoor) 
    {
        this.indoor = indoor;
    }

    public Integer getIndoor() 
    {
        return indoor;
    }
    public void setOutdoor(Integer outdoor) 
    {
        this.outdoor = outdoor;
    }

    public Integer getOutdoor() 
    {
        return outdoor;
    }
    public void setThreading(Integer threading) 
    {
        this.threading = threading;
    }

    public Integer getThreading() 
    {
        return threading;
    }
    public void setServe(Integer serve) 
    {
        this.serve = serve;
    }

    public Integer getServe() 
    {
        return serve;
    }
    public void setPark(Integer park) 
    {
        this.park = park;
    }

    public Integer getPark() 
    {
        return park;
    }
    public void setRest(Integer rest) 
    {
        this.rest = rest;
    }

    public Integer getRest() 
    {
        return rest;
    }
    public void setSupply(Integer supply) 
    {
        this.supply = supply;
    }

    public Integer getSupply() 
    {
        return supply;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cName", getcName())
            .append("content", getContent())
            .append("userId", getUserId())
            .append("logo", getLogo())
            .append("city", getCity())
            .append("address", getAddress())
            .append("lontitude", getLontitude())
            .append("latitude", getLatitude())
            .append("phone", getPhone())
            .append("classDesc", getClassDesc())
            .append("indoor", getIndoor())
            .append("outdoor", getOutdoor())
            .append("threading", getThreading())
            .append("serve", getServe())
            .append("park", getPark())
            .append("rest", getRest())
            .append("supply", getSupply())
            .append("deleted", getDeleted())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
